﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BeanboxSoftware.BeanMap
{
  public class InvalidKeyException : Exception
  {
    public object[] Keys { get; set; }

    public InvalidKeyException(string message, object[] keys)
      : base(message)
    {
      Keys = keys;
    }

    public InvalidKeyException(object[] keys)
      : this("Invalid keys", keys)
    {
    }
  }
}
